package lormi.meipin.entity;

import java.math.BigDecimal;
import java.util.Date;

public class LocationLog {
    private Integer id;

    private Integer userid;

    private BigDecimal longitude;

    private BigDecimal latitude;

    private Date createtime;
    
    public LocationLog(BigDecimal longitude,BigDecimal latitude,Integer userid){
    	this.longitude=longitude;
    	this.latitude=latitude;
    	this.userid=userid;
    	this.createtime=new Date();
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getUserid() {
        return userid;
    }

    public void setUserid(Integer userid) {
        this.userid = userid;
    }

    public BigDecimal getLongitude() {
        return longitude;
    }

    public void setLongitude(BigDecimal longitude) {
        this.longitude = longitude;
    }

    public BigDecimal getLatitude() {
        return latitude;
    }

    public void setLatitude(BigDecimal latitude) {
        this.latitude = latitude;
    }

    public Date getCreatetime() {
        return createtime;
    }

    public void setCreatetime(Date createtime) {
        this.createtime = createtime;
    }
}